Settings

data class Settings(val allowsPickingMultipleItems: Boolean = false, val showsCloudItems: Boolean = true, val prompt: String? = null, val showsItemsWithProtectedAssets: Boolean = true)

Settings to configure a MPMediaPickerController

Constructors

Link copied to clipboard
constructor(allowsPickingMultipleItems: Boolean = false, showsCloudItems: Boolean = true, prompt: String? = null, showsItemsWithProtectedAssets: Boolean = true)

Properties

Link copied to clipboard

A Boolean value specifying the default selection behavior for a media item picker.

Link copied to clipboard
val prompt: String? = null

A prompt, for the user, that appears above the navigation bar buttons.

Link copied to clipboard

A Boolean value specifying whether to display iCloud Media Library items for a media picker.

Link copied to clipboard

A Boolean value specifying if protect assets are displayed.